package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.dto.NursingLevelPageQueryDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    /**
     * 分页查询护理等级信息
     * @param nursingLevelPageQueryDto
     * @return
     */
    PageBean<NursingLevelVo> pageQuery(NursingLevelPageQueryDto nursingLevelPageQueryDto);

    /**
     * 插入护理等级信息
     * @param nursingLevelVo
     */
    void insertNursingLevel(NursingLevelVo nursingLevelVo);
    /**
     * 根据id查询等级信息
     * @return
     */
    NursingLevelVo selectById(Long id);

    /**
     *更新护理等级信息
     * @param dto
     */
    void updateNursingLevel(NursingLevelDto dto);

    /**
     * 启用禁用
     * @param id
     * @param status
     */
    void enableOrDisable(Long id, Integer status);

    /**
     * 删除护理等级信息
     * @param id
     */
    void delete(Long id);

    /**
     * 查询所有护理等级
     * @return
     */
    List<NursingLevelVo> getAllList();
}
